package day3.aop;

import org.springframework.stereotype.Component;

@Component
public class Teacher {
	public void work() {
		System.out.println("我正在工作。。。。。。");
	}
	public int work1() {
		System.out.println("我正在工作1。。。。。。");
		return 100;
	}
	public int work2() {
		System.out.println("我正在工作2");
		int k=10/0;
		return 100;
	}
}
